Skip to main content

All Questions

5votes
2answers
290views

2048 game in Java

I am a beginner learning Java, and I coded a command line version of the game 2048 for practice. Any feedback, especially regarding best practices, object-oriented principles, and tidying up the code ...
smwt's user avatar
  • 187
3votes
1answer
253views

Simple blackjack program in Java

I wrote this blackjack game for my APCSA class (already submitted) and was wondering if anyone had feedback on what parts of it are improperly written. My main concern is the fact that I am printing ...
nohgo's user avatar
5votes
1answer
709views

Space Invaders clone for a college project

Edit: the project was submitted, and I got a good grade! :D I am finishing up a project for my computer science class. The project is a space invaders clone that uses the JavaFX library to provide ...
puppeteer's user avatar
2votes
1answer
478views

Guess Number Game - Console based game using Java

This game is pretty common for beginner projects. I wrote a version of this before all in Main - so here I challenge myself to recreate it in a more OO style. I wanted to take a more OO approach, so ...
Arquile's user avatar
10votes
8answers
4kviews

OOP implementation of Rock Paper Scissors game logic in Java

What is your opinion on my solution for Rock Paper Scissors game logic in Java? Round outcome enum class ...
Zoran Jankov's user avatar
8votes
1answer
553views

My first game - Arkanoid

I'm new to java and I have just finished my very first game - Arkanoid. I would appreciate, if anyone could look at this and tell me some advice and tips how can I optimize my code. Thank you. :) I ...
itecko's user avatar
7votes
1answer
4kviews

java - Basic snake game

This is a snake game I made, Note: at this point, I would like to hear any thoughts/ reviews about it. Thank you Game class: ...
benjamin's user avatar
3votes
0answers
145views

Java game: select numbered tiles to form a goal sum

This is a homework project (Soft. Eng.) which I have completed. My teacher gave me a 91, but I am unhappy with this grade because my code is quite messy. (Please excuse incomplete Javadoc, the code is ...
vimdiesel's user avatar
3votes
1answer
11kviews

Basic Connect Four game

Here is a simple text-based version of connect four I made. I have been building this in an attempt to improve my Java skills (and possibly mention on my resume). My goals with this project are as ...
dgr27's user avatar
2votes
1answer
88views

Collision detection on Android

This is the same game code from my previous question. I split the code into smaller "logical units". The runnable code "Moon Buggy" is available in beta from the google playstore. It was previously ...
Niklas Rosencrantz's user avatar
5votes
2answers
5kviews

Tetris game demonstrating OOP principles

I've designed a basic Tetris game, and implemented it in Java language. I'll use it for demonstrating software engineering, designing. I'll re-implement it in many different programming languages, in ...
klenium's user avatar
9votes
2answers
4kviews

Android Tetris App Design

Recently I have finished my first bigger Android project. I made a little Tetris App. Here is a picture of my app in emulator: My Tetris has following functions: fast drop down play tetris music ...
Marten's user avatar
4votes
1answer
3kviews

Basic Pong Game

I am very new to programming still but have been learning a lot. I decided to have a go at making the game Pong from scratch, and I want to know how I could have made this more simple than I wrote it. ...
CoderKlipto's user avatar
6votes
1answer
246views

Implementing a "Roll Table" data structure

I am trying to implement a helper program for a paper RPG game. In this game, there are a lot of "roll tables". Basically, those are tables which associates the result of a dice roll to a concrete ...
B. Kovac's user avatar
10votes
1answer
253views

Game Tutorial in Java

I’ve been working on a Rampart inspired multiplayer game for a few weeks now, and it is finally in a playable state. The big thing left to do before going alpha was to add a tutorial to the game. I ...
bazola's user avatar
  • 8,589

153050per page
close